package com.exam.domain;

/**
 * Created by jly on 2017/2/13.
 */
public class Question {
    private Integer questionId;
    private String questionName;
    private Integer questionCreator;
    private Integer questionTypeId;
    private String questionAnswer;
    private String questionCreateTime;
    private Integer fieldId;
    private Integer pointId;
    private String questionDescribe;

    private String difficultlevel;
    private QuestionType questionType;
    private Field field;
    private KnowledgePoint knowledgePoint;
    private Answer answer;
    private User user;

    public User getUser() {
        return user;
    }

    public void setUser(User user) {
        this.user = user;
    }

    public Answer getAnswer() {
        return answer;
    }

    public void setAnswer(Answer answer) {
        this.answer = answer;
    }

    public Question() {
    }

    public Question(Integer questionId, String questionName, Integer questionCreator, Integer questionTypeId, String questionAnswer, String questionCreateTime, Integer fieldId, Integer pointId, String questionDescribe, QuestionType questionType, Field field, KnowledgePoint knowledgePoint) {
        this.questionId = questionId;
        this.questionName = questionName;
        this.questionCreator = questionCreator;
        this.questionTypeId = questionTypeId;
        this.questionAnswer = questionAnswer;
        this.questionCreateTime = questionCreateTime;
        this.fieldId = fieldId;
        this.pointId = pointId;
        this.questionDescribe = questionDescribe;
        this.questionType = questionType;
        this.field = field;
        this.knowledgePoint = knowledgePoint;
    }

    public Integer getQuestionId() {
        return questionId;
    }

    public void setQuestionId(Integer questionId) {
        this.questionId = questionId;
    }

    public String getQuestionName() {
        return questionName;
    }

    public void setQuestionName(String questionName) {
        this.questionName = questionName;
    }

    public Integer getQuestionCreator() {
        return questionCreator;
    }

    public void setQuestionCreator(Integer questionCreator) {
        this.questionCreator = questionCreator;
    }

    public Integer getQuestionTypeId() {
        return questionTypeId;
    }

    public void setQuestionTypeId(Integer questionTypeId) {
        this.questionTypeId = questionTypeId;
    }

    public String getQuestionAnswer() {
        return questionAnswer;
    }

    public void setQuestionAnswer(String questionAnswer) {
        this.questionAnswer = questionAnswer;
    }

    public String getQuestionCreateTime() {
        return questionCreateTime;
    }

    public void setQuestionCreateTime(String questionCreateTime) {
        this.questionCreateTime = questionCreateTime;
    }

    public Integer getFieldId() {
        return fieldId;
    }

    public void setFieldId(Integer fieldId) {
        this.fieldId = fieldId;
    }

    public Integer getPointId() {
        return pointId;
    }

    public void setPointId(Integer pointId) {
        this.pointId = pointId;
    }

    public String getQuestionDescribe() {
        return questionDescribe;
    }

    public void setQuestionDescribe(String questionDescribe) {
        this.questionDescribe = questionDescribe;
    }

    public QuestionType getQuestionType() {
        return questionType;
    }

    public void setQuestionType(QuestionType questionType) {
        this.questionType = questionType;
    }

    public Field getField() {
        return field;
    }

    public void setField(Field field) {
        this.field = field;
    }

    public KnowledgePoint getKnowledgePoint() {
        return knowledgePoint;
    }

    public void setKnowledgePoint(KnowledgePoint knowledgePoint) {
        this.knowledgePoint = knowledgePoint;
    }

    public String getDifficultlevel() {
        return difficultlevel;
    }

    public void setDifficultlevel(String difficultlevel) {
        this.difficultlevel = difficultlevel;
    }
}
